package com.dykj.fireFighting.server.socialUnit.xfxg.service.impl;

import com.dykj.fireFighting.api.socialUnit.xfxg.entity.PatrolReportRecord;
import com.dykj.fireFighting.api.socialUnit.xfxg.service.IPatrolReportRecordService;
import com.dykj.fireFighting.common.core.service.impl.BaseServiceImpl;
import com.dykj.fireFighting.server.socialUnit.xfxg.mapper.PatrolReportRecordMapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.transaction.annotation.Transactional;


import java.util.List;
import java.util.Map;

/**
 * 巡更报告记录表
 *
 * @Author JacksonTu
 * @Date  2021-07-05 15:22:53
 */
@Slf4j
@DubboService
@Transactional(rollbackFor = Exception.class)
public class PatrolReportRecordServiceImpl extends BaseServiceImpl<PatrolReportRecordMapper, PatrolReportRecord> implements IPatrolReportRecordService {

    @Override
    public List<PatrolReportRecord> getList(String patrolReportId) {
        return baseMapper.getList(patrolReportId);
    }

    @Override
    public List<PatrolReportRecord> getYcList(String patrolReportId) {
        return baseMapper.getYcList(patrolReportId);
    }
}
